package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereMemberWelfareSubscribe;
import org.linlinjava.litemall.db.domain.LumiereMemberWelfareSubscribeExample;

public interface LumiereMemberWelfareSubscribeMapper {
    long countByExample(LumiereMemberWelfareSubscribeExample example);

    int deleteByExample(LumiereMemberWelfareSubscribeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereMemberWelfareSubscribe record);

    int insertSelective(LumiereMemberWelfareSubscribe record);

    LumiereMemberWelfareSubscribe selectOneByExample(LumiereMemberWelfareSubscribeExample example);

    LumiereMemberWelfareSubscribe selectOneByExampleSelective(@Param("example") LumiereMemberWelfareSubscribeExample example, @Param("selective") LumiereMemberWelfareSubscribe.Column ... selective);

    List<LumiereMemberWelfareSubscribe> selectByExampleSelective(@Param("example") LumiereMemberWelfareSubscribeExample example, @Param("selective") LumiereMemberWelfareSubscribe.Column ... selective);

    List<LumiereMemberWelfareSubscribe> selectByExample(LumiereMemberWelfareSubscribeExample example);

    LumiereMemberWelfareSubscribe selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereMemberWelfareSubscribe.Column ... selective);

    LumiereMemberWelfareSubscribe selectByPrimaryKey(Integer id);

    LumiereMemberWelfareSubscribe selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereMemberWelfareSubscribe record, @Param("example") LumiereMemberWelfareSubscribeExample example);

    int updateByExample(@Param("record") LumiereMemberWelfareSubscribe record, @Param("example") LumiereMemberWelfareSubscribeExample example);

    int updateByPrimaryKeySelective(LumiereMemberWelfareSubscribe record);

    int updateByPrimaryKey(LumiereMemberWelfareSubscribe record);

    int logicalDeleteByExample(@Param("example") LumiereMemberWelfareSubscribeExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}